package com.lanou.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * Created by dllo on 18/3/28.
 */
public class SaltUtil {
    public static String setSalt(String psw,String uname){
        String salt =new Md5Hash(uname).toString();
        return new Md5Hash(psw,salt).toString();
    }
}
